package cn.mhome.merchant.dao.spring.data.repository;

import java.util.HashMap;
import java.util.Map;

public class LockParam {

	private String tableName;// 表名称
	private boolean isLock = true;// 是否锁
	private Class<?> returnClass;// 返回的类
	private Map<String, Object> columnMap = new HashMap<String, Object>();

	public LockParam() {

	}

	public LockParam(String tableName, Class<?> clazz) {
		this.tableName = tableName;
		this.returnClass = clazz;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public boolean isLock() {
		return isLock;
	}

	public void setLock(boolean isLockNew) {
		this.isLock = isLockNew;
	}

	public Class<?> getReturnClass() {
		return returnClass;
	}

	public void setReturnClass(Class<?> returnClass) {
		this.returnClass = returnClass;
	}

	public Map<String, Object> getColumnMap() {
		return columnMap;
	}

	public void setColumnMap(Map<String, Object> columnMap) {
		this.columnMap = columnMap;
	}

}
